@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?95llun');
    src: url('../fonts/icomoon.eot?95llun#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?95llun') format('truetype'),
        url('../fonts/icomoon.woff?95llun') format('woff'),
        url('../fonts/icomoon.svg?95llun#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

body {
    min-width: 320px;
    max-width: 750px;
    margin: 0 auto;
    background-color: #f2f4f7;
}

a {
    text-decoration: none;
}

// 约束屏幕大于750px的时候，1rem的大小就不变化了
@media screen and (min-width:750px) {
    html {
        font-size: 37.5px !important;
    }
}

.wrap {
    background-color: #fff;
    padding-bottom: 43px;
}

.header {
    height: 2.1333rem;
    border-bottom: 1px solid #eaeaea;
    text-align: center;
    line-height: 2.1333rem;
    font-size: .9333rem;
}

.nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 1.2rem 0 1.6rem 0;

    a {
        width: 33.33%;
        display: flex;
        flex-direction: column;
        align-items: center;

        &:nth-child(-n+3) {
            margin-bottom: 1.6533rem;
        }

        span {
            font-family: 'icomoon';
            color: gray;

            &:nth-child(1) {
                width: 3.7067rem;
                height: 3.7067rem;
                font-size: 2.8rem;
                text-align: center;
                text-shadow: .1533rem .1533rem .1933rem;
                line-height: 3.7067rem;
            }

            &:nth-child(2) {
                font-size: .6667rem;
            }
        }
    }
}

.go {
    margin: 0 .2667rem 0 .48rem;
    border-radius: 2.6667rem;
    overflow: hidden;

    img {
        width: 100%;
        height: 5.3333rem;
        vertical-align: bottom;
    }
}

.content {
    margin-top: .2667rem;
    padding: 1.0667rem .64rem;
    background-color: #fff;

    .con-hd {
        display: flex;
        justify-content: space-between;
        height: 1.0133rem;
        font-size: .7467rem;
        color: #333333;
        line-height: 1.0133rem;

        h4 {
            font-family: 'icomoon';

            &::before {
                content: '';
                font-size: .7867rem;
                vertical-align: middle;
                margin-right: .4rem;
            }

            margin: 0;
        }

        span {
            color: grey;
            font-size: .3467rem;

        }
    }
}

.content {

    // :nth-child()是对父元素里的所有元素进行排序
    &:nth-child(3) {
        h4 {
            font-family: 'icomoon';

            &::before {
                content: '';
                font-size: .7867rem;
                vertical-align: middle;
                margin-right: .4rem;
            }

            margin: 0;
        }
    }
}

.get_job_focus {
    margin-top: 1.2rem;
    position: relative;

    .swiper-container {
        width: 14.4rem;
        height: 100%;
    }

    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;

        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
        transition: 300ms;
        transform: scale(0.8);
        opacity: .4;

        img {
            width: 9.5133rem;
            height: 8rem;
        }

        p {

            font-size: .6667rem;
            margin-top: .64rem;
            color: #333;
        }
    }

    .swiper-slide-active,
    .swiper-slide-duplicate-active {
        transform: scale(1);
        z-index: 1;
        opacity: 1;
    }
}


.study {
    overflow: hidden;
    position: relative;
    padding: 1.1333rem 0 2.033rem 0;
    .swiper {
        width: 100%;
        height: 100%;
    }

    .swiper-slide {
        width: 7.7333rem;
        height: 13.0667rem;
        border-radius: 10px;
        box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
        font-size: 18px;
        background: #fff;
        overflow: hidden;
        padding-bottom: .5333rem;

        h5{
            font-size: .7467rem;
            margin: .2667rem .4rem 0 .4rem;
            text-align: left;
        }
        p{
            font-size: .3733rem;
            text-align: left;
            padding-left: .8667rem;
            color: coral;
        }
    }

    .swiper-slide img {
        display: block;
        width: 100%;
        height: 75%;
        object-fit: cover;
    }
}

.footer{
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 20rem;
    height: 2.9333rem;
    background-color: #fff;
    border-top: solid .0533rem #ccc;
    z-index: 100;
    display: flex;
    flex-direction: row;
    a{
        font-family: 'icomoon';
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        span{
            color: gray;
            &:nth-child(1){
                font-size: 1.3667rem;
                margin-top: .4rem;
            }
            &:nth-child(2){
                font-size: .6rem;
            }
        }
    }
  }